
package com.kweative.util;

/**
 *
 * @author henrik
 */
public class ArrayUtil {
    public static String join(Object[] array,String glue) {
        String result = "";
        boolean first = true;
        for(Object elm:array) {
            if (first) {
                result += elm.toString();
                first = false;
            } else {
                result += glue + elm.toString();
            }
        }
        return result;
    }
}
